#!/usr/bin/env python
# -*- coding:utf-8 -*-
import os

import yaml


def main():
    yamlfile = os.path.join("/Users/ddy", "svn.yaml")

    f = open(yamlfile, 'r', encoding='utf-8')
    content = f.read()
    print(content)
    input = "Tmn3Qgd>3S"
    yamlObj = yaml.safe_load(content)
    token = yamlObj['svn']['socket_test']['token']
    if token == input:
        print("== is Yes")
    else:
        print("== is No")

    print(id(token), id(input))
    if token is input:
        print("is is Yes")
    else:
        print("is is No")


if __name__ == '__main__':
    main()
